package org.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/a")
public class Demo1 {
    @GetMapping("/a")
    public String get(){
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }
        System.out.println("hello word");
        return "OK";
    }
}
